<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改管理员信息</title>
</head>
<link rel="stylesheet" href="/css/font.css">
<link rel="stylesheet" href="/css/xadmin.css">
<!--<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>-->
<!--<script th:src="@{/lib/layui/layui.js}" charset="utf-8"></script>-->
<!--<script type="text/javascript" th:src="@{/js/xadmin.js}"></script>-->
<body>
<!--------------------------------------------  修改   ------------------------------------------------->
<div >
    <div class="add_box">
        <form class="layui-form " th:action="@{/stu/admin-edit}" method="post">

            <div class="layui-form-item">
                <label  class="layui-form-label">
                    <span class="x-red">*</span>手机
                </label>
                <div class="layui-input-inline">
                    <input type="text"  name="phone" class="layui-input" readonly="readonly" th:value="${phone}">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    <span class="x-red">*</span>登入名不可更改
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>登录名
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="name"  class="layui-input" th:value="${name}">
                </div>
            </div>

            <div class="layui-form-item">
                <label  class="layui-form-label">
                    <span class="x-red">*</span>邮箱
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="email" class="layui-input" th:value="${email}">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    <span class="x-red">*</span>
                </div>
            </div>


            <div class="layui-form-item">
                <label  class="layui-form-label">
                    <span class="x-red">*</span>密码
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="password" class="layui-input" th:value="${password}">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    6到16个字符
                </div>
            </div>

            <div class="layui-form-item">
                <label  class="layui-form-label">
                </label>
                <button  class="layui-btn" lay-filter="add" lay-submit="">
                    修改
                </button>
                <a class="layui-btn " href="/stu/admin-list">
                    返回
                </a>
            </div>
        </form>
    </div>
</div>
</body>
</html>